<?php

    //$dbhost = 'localhost';
    //$dbuser = 'sysadsdba';
    //$dbpass = 'dbsystems';
    //$dbname = 'itgroupoffice';
	$dbhost = 'localhost';
    $dbuser = 'root';
    $dbpass = '';
    $dbname = 'netoffice';
    $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die                      ('Error connecting to mysql');
    $db = mysql_connect($dbhost,$dbuser,$dbpass);
    $connect = mysql_select_db($dbname,$conn) or die('Could not select database');
    if($connect == true)
    {
      //echo"connected";
    }
    if($db == false)
    {
      echo " <script>alert('Cannot connect to the server. ')</script>";
    }

?>
